$OpenBSD: patch-x11_serverping_cpp,v 1.2 2017/05/02 23:26:32 espie Exp $
Index: x11/serverping.cpp
--- x11/serverping.cpp.orig
+++ x11/serverping.cpp
@@ -25,8 +25,11 @@
 // code and should be reasonably easy to compile on Windows.
 
 
-#include <iostream.h>
-#include <strstream.h>
+#include <iostream>
+#include <strstream>
+
+using namespace std;
+
 #include "utils.h"
 #include "streams.h"
 #include "xetp_basic.h"
@@ -355,6 +358,7 @@ void ServerPing::print_results_and_exit() {
 
 
 
+int
 main(int argc,char** argv) {
   ServerPing ping(argc,argv);
   ping.go();
